﻿{% extends "index.html" %}

{% block titulo %}Postar avaliação{% endblock %}

{% block principal %}
<form method="post" action=".">
<table> {# turbo gambiarra ATIVAR! #}
	<tr>
		<td><label>Professor:</label></td>
		<td colspan="3">{{ form.professor }}</td>
	</tr>
	<tr>
		<td/>
		<td>{{ form.professor.errors }}</td>
	</tr>
	<tr>
		<td><label>Disciplina:</label></td>
		<td colspan="3">{{ form.disciplina }}</td>
	</tr>
	<tr>
		<td/>
		<td>{{ form.disciplina.errors }}</td>
	</tr>
	<tr>
		<td><label>Ano:</label></td>
		<td>{{ form.ano }}
		<td><label>Semestre:</label></td>
		<td>{{ form.semestre }}</td>
	</tr>
	<tr>
		<td/>
		<td colspan="2">{{ form.ano.errors }}</td>
		<td colspan="2">{{ form.semestre.errors }}</td>
	</tr>
	<tr>
		<td><label>Geral:</label></td>
		<td colspan="3">{{ form.cmnt_geral }}</td>
		<td>{{ form.nota_geral }}</td>
	</tr>
	<tr>
		<td/>
		<td colspan="3">{{ form.cmnt_geral.errors }}</td>
		<td>{{ form.nota_geral.errors }}</td>
	</tr>
	<tr>
		<td><label>Didática:</label></td>
		<td colspan="3">{{ form.cmnt_didatica }}</td>
		<td>{{ form.nota_didatica }}</td>
	</tr>
	<tr>
		<td/>
		<td colspan="3">{{ form.cmnt_didatica.errors }}</td>
		<td>{{ form.nota_didatica.errors }}</td>
	</tr>
	<tr>
		<td><label>Dinâmica:</label></td>
		<td colspan="3">{{ form.cmnt_dinamica }}</td>
		<td>{{ form.nota_dinamica }}</td>
	</tr>
	<tr>
		<td/>
		<td colspan="3">{{ form.cmnt_dinamica.errors }}</td>
		<td>{{ form.nota_dinamica.errors }}</td>
	</tr>
	<tr>
		<td><label>Avaliações:</label></td>
		<td colspan="3">{{ form.cmnt_aval }}</td>
		<td>{{ form.nota_aval }}</td>
	</tr>
	<tr>
		<td/>
		<td colspan="3">{{ form.cmnt_aval.errors }}</td>
		<td>{{ form.nota_aval.errors }}</td>
	</tr>
	<tr>
		<td><label>Disponibilidade:</label></td>
		<td colspan="3">{{ form.cmnt_disp }}</td>
		<td>{{ form.nota_disp }}</td>
	</tr>
	<tr>
		<td/>
		<td colspan="3">{{ form.cmnt_disp.errors }}</td>
		<td>{{ form.nota_disp.errors }}</td>
	</tr>
</table>
<br/>
<p align="center"><input type="submit" value="Enviar avaliação" /></p>
</form>
{% endblock %}